version
Type
function
Summary
Returns the version of LiveCode Create currently running but with a value which is compatible with version checks in existing LiveCode script.
Syntax
the version
version()
Description
Use the version function to determine whether a particular feature is supported in the running environment in a way which is compatible with versions of LiveCode.
Important: As this function is deprecated, it should not be used in new code; use the productVersion function instead.
Examples
put the version into field "Version" of me
set the itemDelimiter to "."
if item 1 of the version > 10 then
answer "This is actually LiveCode Create"
end if
Related
control structure: function
function: environment, libURLVersion, buildNumber, productVersion
glossary: application, standalone application, return, engine
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
ios
android
web
Platforms
desktop
server
mobile